package com.yekaile.carsystem.mapper;

import com.yekaile.carsystem.entity.UserAddress;
import com.yekaile.carsystem.entity.UserAddressExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserAddressMapper {
    long countByExample(UserAddressExample example);

    int deleteByExample(UserAddressExample example);

    int deleteByPrimaryKey(Integer userAddressId);

    int insert(UserAddress record);

    int insertOrUpdate(UserAddress record);

    int insertOrUpdateSelective(UserAddress record);

    int insertSelective(UserAddress record);

    List<UserAddress> selectByExample(UserAddressExample example);

    UserAddress selectByPrimaryKey(Integer userAddressId);

    int updateByExampleSelective(@Param("record") UserAddress record, @Param("example") UserAddressExample example);

    int updateByExample(@Param("record") UserAddress record, @Param("example") UserAddressExample example);

    int updateByPrimaryKeySelective(UserAddress record);

    int updateByPrimaryKey(UserAddress record);

    int updateBatch(List<UserAddress> list);

    int updateBatchSelective(List<UserAddress> list);

    int batchInsert(@Param("list") List<UserAddress> list);
}